﻿#include "widget.h"
#include <QApplication>
#include"test.h"
#include<QDebug>
int st(Test t)
{
    return t.m_a;
}
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    Widget w;
    w.show();
    Test s1;
    s1.Tnum(10);
    int num=st(s1);
    qDebug()<<num;
    return a.exec();
}
